package com.zh.behavior.service;



import com.zh.behavior.domain.UserBehaviorDO;

import java.util.List;
import java.util.Map;

/**
 * 老人行为表

 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2019-03-12 20:49:30
 */
public interface UserBehaviorService {
	
	UserBehaviorDO get(String id);
	
	List<UserBehaviorDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(UserBehaviorDO userBehavior);
	
	int update(UserBehaviorDO userBehavior);
	
	int remove(String id);
	
	int batchRemove(String[] ids);

	List<UserBehaviorDO> getAlll(UserBehaviorDO userBehavior);

	List<UserBehaviorDO> getUserBehaviorByday(Map<String, Object> map);

	int getUserBehaviorBydaycount(Map<String, Object> map);

	List<UserBehaviorDO> getUserBehaviorBetwDay(UserBehaviorDO userBehavior);

	UserBehaviorDO getUserBehaviorTop1(UserBehaviorDO userBehavior);
}
